package com.nbgroup.dao;

import com.nbgroup.entity.RoleUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by 18545 on 2019/7/15.
 */
public interface RoleUserRepositoty extends JpaRepository<RoleUser,Long>, JpaSpecificationExecutor<RoleUser> {
    RoleUser findByUserId(Long  userId);
}
